<?php
/**
 * Page principal d'un événement
 **/
include('inc/inc.php');
//
// Création du menu d'onglet.
//
UI::TabControl()->BackButton('index.php');
//
// Récupération des informations
//
$c2eInfos = System::Meta('C2E');
//
// Création des panneaux
//
$panel1 = new Panel();
//
// Informations
//
$table = new Galery();
$table->addHeader(array('Link', 'Name'));
@$table->addRows(array(
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/caf.pdf', 'Name' => 'conférence du 10'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/word.doc', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.docx', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.xls', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.xlsx', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.pps', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.ppt', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita'),
	array('Link' => 'http://127.0.0.1/JavalyssLeckye0.1/public/1/romakita.jpg', 'Name' => 'romakita')
));

$panel1->addChild('<h1>Galerie</h1>');
$panel1->addChild(@$table);

UI::TabControl()->addPanel('Galerie', $panel1, 'galery');

//UI::TabControl()->addPanel('Documents', $panel1, 'galery');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<?php UI::Header(); ?>
    <title>Galerie</title>
    </head>
   	<body style="width:320px; height:480px;position:absolute; left:50%; margin-left:-160px">
    	<?php UI::Body(); ?>
    </body>
</html>